kfreebsd-debuginfod
authorDebian Elfutils Maintainers <debian-gcc@lists.debian.org>
Tue, 17 Mar 2026 14:25:35 +0000 (15:25 +0100)
committerMatthias Klose <doko@debian.org>
Tue, 17 Mar 2026 14:25:35 +0000 (15:25 +0100)
Gbp-Pq: Name kfreebsd-debuginfod

debuginfod/debuginfod-client.c

index 133903a4f2846773c122186183c09ef8ac7b235f..bdf294e56513a35471235e57efabba23b7ce5bb7 100644 (file)
@@ -97,7 +97,9 @@ void debuginfod_end (debuginfod_client *c) { }
 #include <regex.h>
 #include <string.h>
 #include <stdbool.h>
+#ifdef __linux__
 #include <linux/limits.h>
+#endif
 #include <time.h>
 #include <utime.h>
 #include <sys/syscall.h>
@@ -156,6 +158,10 @@ struct public_key_entry
 #endif
 
 
+#ifndef ETIME
+#define ETIME ETIMEDOUT /* Timer expired, fallback if not found in errno.h like on Linux */
+#endif
+
 struct debuginfod_client
 {
   /* Progress/interrupt callback function. */